import http from '@/utils/request'
//查询学院列表
export default {
    async getDocumentList(param) {
        return await http.get("/api/document/list",param)
    },
    async updeteDocumentById(params){
        return await http.put("/api/document/update",params)
    },
    async addDocument(params){
        return await http.post("/api/document/add",params)
    },
    async deleteDocumentById(param){
        return await http.delete("/api/document/delete",param)
    }
}
